// APPLICATION PROGRAM INTERFACE

// register module interface
const USER_MODULE = "/user"

export const REGISTER_API = USER_MODULE + "/register"
export const LOGIN_API = USER_MODULE + "/login"
export const AUTH_API = USER_MODULE + "/auth"
export const GET_USER_FRIENDS_API = USER_MODULE +"/get_user_friends"
export const UPDATE_LINE_STATUS_API = USER_MODULE +"/update_line_status"
export const ADD_FRIEND_API = USER_MODULE + "/add_friend"
export const GET_UID_BY_QQ = USER_MODULE + "/get_userId_by_qq"

// notify module interface
const NOTIFY_MODULE = "/notify"

export const GET_FRIEND_GROUP_APPLY_API = NOTIFY_MODULE + "/get_new_friend_notify"
export const ADD_NEW_FRIEND_APPLY_API = NOTIFY_MODULE + "/add_friend_notify"
export const UPDATE_NOTIFY_STATUS_API = NOTIFY_MODULE + "/update_notify_status"

// group module interface
const GROUP_MODULE = "/group"

export const GET_CURRENT_USER_GROUPS_API = GROUP_MODULE + "/get_groups"
export const GET_GROUP_BY_GROUP_NUMBER_API = GROUP_MODULE + "/get_group"
export const ADD_GROUP_MEMBER_API = GROUP_MODULE + "/add_group_member"
export const CREATE_GROUP_API = GROUP_MODULE +"/add_group"

// dynamic module interface
const DYNAMIC_MODULE = "/dynamic"

export const ADD_DYNAMIC_API = DYNAMIC_MODULE + "/add_dynamic"
export const GET_NEW_DYNAMIC_FRIEND_NUM_API = DYNAMIC_MODULE + "/get_new_dynamic_num"
export const GET_FRIENDS_DYNAMIC_API = DYNAMIC_MODULE + "/get_friends_dynamic" 
export const GET_FRIEND_DYNAMIC_BYID_API = DYNAMIC_MODULE + "/get_dynamic"
export const UPDATE_FRIEND_DYNAMIC_READSTATUS_API = DYNAMIC_MODULE + "/update_dynamics_read_status"